package com.iwhalecloud.bss.kite.cucc.service.job.collectiongroup;

import com.iwhalecloud.bss.kite.cucc.client.api.job.collectiongroup.ICollectionGroupMemberTask;
import org.quartz.JobDataMap;

import com.iwhalecloud.bss.kite.service.job.utils.IJobTrans;

import com.ztesoft.bss.common.util.SpringUtil;

/**
 * 收入归集批量校验定时任务&收入归集批量转单定时任务
 */
public class BatchAddMemberDetailJob implements IJobTrans {

    @Override
    public boolean isLocked() {
        return false;
    }

    @Override
    public void setLocked(boolean isLocked) {

    }

    @Override
    public void process() {
        ICollectionGroupMemberTask collectionGroupService = SpringUtil.getBean(ICollectionGroupMemberTask.class);
        collectionGroupService.checkAndCommitAddMember();
    }

    @Override
    public void begionTrans() throws Exception {

    }

    @Override
    public void commitTrans() throws Exception {

    }

    @Override
    public void rollbackTrans() {

    }

    @Override
    public void setPerQueryMaxRow(int maxRow) {

    }

    @Override
    public int getPerQueryMaxRow() {
        return 0;
    }

    @Override
    public int getRedoTimes() {
        return 0;
    }

    @Override
    public void setRedoTimes(int redoTime) {

    }

    @Override
    public IJobTrans getInstance(JobDataMap jobConext) {
        return null;
    }
}
